﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebBanThuoc
{
    public partial class Logout : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Session.Remove("kh");
            if (Session["trangTruoc"] != null)
            {
                string trangTruoc = Session["trangTruoc"].ToString();
                Response.Redirect(trangTruoc);
            }
            else
                Response.Redirect("TrangChu.aspx");
        }
    }
}